/**
 * Created by zp on 2016/10/6.
 */

define([],function(){
  'use strict';
  function ctrl($state,$http,$scope){
    $scope.tgocheckout = function(){
      $state.go("tab.address-list");




      var opt = {
        'default': {
          theme: 'default',
          mode: 'scroller',
          display: 'modal',
          animate: 'fade'
        },
        'select-opt': {
          preset: 'select',
          group: true,
          width: 50
        }
      }

      $('.demo-test-select-opt').scroller($.extend(opt['select-opt'],opt['default']));
    }
  }
  ctrl.$inject = ['$state','$http','$scope'];
  return ctrl;
})

